home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2b.lha
/
p4-1.2b
/
monitors
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1992-10-19
|
969b
|
36 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIBS = $(LIBDIR)/libp4.a $(MDEP_LIBS)
default:$(P)
@if [ $(MACHINE) = IPSC860 -o $(MACHINE) = DELTA -o $(MACHINE) = IPSC860_SOCKETS ] ;\
then\
echo NOT making any monitors pgms on $(MACHINE) ;\
else\
make $(MFLAGS) addtwo.ask addtwo.gs grid.shmem ;\
fi
all:$(P)
make $(MFLAGS) addtwo.ask addtwo.gs adquad grid.shmem gridlog.shmem
grid.shmem:$(P) grid.shmem.o $(LIBDIR)/libp4.a
$(CC) -o grid.shmem grid.shmem.o $(LIBS)
gridlog.shmem:$(P) gridlog.shmem.o $(LIBDIR)/libp4.a
$(CC) -o gridlog.shmem gridlog.shmem.o $(LIBS)
addtwo.ask:$(P) addtwo.ask.o $(LIBDIR)/libp4.a
$(CC) -o addtwo.ask addtwo.ask.o $(LIBS) -lm
addtwo.gs:$(P) addtwo.gs.o $(LIBDIR)/libp4.a
$(CC) -o addtwo.gs addtwo.gs.o $(LIBS) -lm
adquad:$(P) adquad.o $(LIBDIR)/libp4.a
$(CC) -o adquad adquad.o $(LIBS) -lm
realclean: clean
$(RM) -f addtwo.ask addtwo.gs adquad grid.shmem gridlog.shmem Makefile